package com.shk.service;

import com.shk.entity.PageResult;
import com.shk.pojo.Permission;

import java.util.List;

public interface PermissionService {


    void add(Permission permission);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    Permission findById(Integer id);

    void update(Permission permission);

    void delete(Integer id);

    List<Permission> findAll();

}
